package com.carbon.domain.mall.api;

import com.carbon.domain.common.ApiResult;
import com.carbon.domain.system.vo.UmsMemberSetmealQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * 系统服务Api
 * @author LJX
 */
@FeignClient(value = "carbon-cmall")
@RequestMapping("cmall")
public interface CmallApi {

	@PostMapping("/umsMemberSetmeal/info")
	ApiResult<UmsMemberSetmealQueryVo> getMemberSetmeal(@RequestParam("id") int id);

	@PostMapping("/umsMember/openVip")
	ApiResult openVip(@RequestParam("setMealId") int setMealId) throws Exception;
}
